<?php
/**
 * Created by PhpStorm
 * User: shen.zk
 * Date: 2023/9/4
 * Time: 14:43
 * Comment: ''
 */

namespace App\Repository;

use App\Models\ApplyLog as log;

class ApplyLogRepo extends BaseRepo
{

    /**
     * 保存接口请求记录
     * @param array $data
     * @return int
     * @author shen.zk
     * @date 2023-09-04 14:45
     */
    public function saveApplyLog(array $data)
    {
        return log::query()->insertGetId($data);
    }
}
